<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/normalize.css">
    <link rel="stylesheet" href="./css/swiper.min.css">
    <link rel="stylesheet" href="./css/myindex.css">
</head>

<body>
    <script src="./js/flexible.js"></script>
    <script src="./js/swiper.min.js"></script>

    <section class="wrap">
        <!-- 头部 -->
        <header class="header">
            黑马面面
        </header>
        <!-- 导航部分 -->
        <nav>
            <a href="#"><img src="icons/icon1.png" alt="">
                <span>HR面试</span></a>
            <a href="#"><img src="icons/icon1.png" alt="">
                <span>HR面试</span></a>
            <a href="#"><img src="icons/icon1.png" alt="">
                <span>HR面试</span></a>
            <a href="#"><img src="icons/icon1.png" alt="">
                <span>HR面试</span></a>
            <a href="#"><img src="icons/icon1.png" alt="">
                <span>HR面试</span></a>
            <a href="#"><img src="icons/icon1.png" alt="">
                <span>HR面试</span></a>
        </nav>
        <!-- go模块 -->
        <section>
            <img src="images/go.png" alt="">
        </section>
    </section>
    <!-- 就业指导 -->
    <section class="content">
        <div class="con-hd">
            <h4>就业指导</h4>
            <a href="#">更多</a>
        </div>
        <div class="con-bd">
            <div class="get-job-focus">
                <!-- 轮播图 -->
                <div class="swiper-container get-job-fo">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <a href="#"><img src="./images/pic.png" alt=""></a>
                            <p>老师叫你应对面试技巧</p>
                        </div>
                        <div class="swiper-slide">
                            <a href="#"><img src="./images/pic1.png" alt=""></a>
                            <p>老师叫你应对面试技巧</p>
                        </div>
                        <div class="swiper-slide">
                            <a href="#"><img src="./images/pic2.png" alt=""></a>
                            <p>老师叫你应对面试技巧</p>
                        </div>
                    </div>
                    <!-- Add Pagination -->
                    <!-- 小圆点不需要<div class="swiper-pagination"></div> -->

                </div>
                <!-- Add Arrows添加箭头 根据需求,将箭头放在外面-->
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>

            </div>

        </div>
    </section>
    <section class="content">
        <div class="con-hd">
            <h4>充电学习</h4>
            <a href="#">更多</a>
        </div>
        <div class="study">
            <div class="swiper-container get-job-study">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">Slide 1</div>
                    <div class="swiper-slide">Slide 2</div>
                    <div class="swiper-slide">Slide 3</div>
                    <div class="swiper-slide">Slide 4</div>
                    <div class="swiper-slide">Slide 5</div>
                    <div class="swiper-slide">Slide 6</div>
                    <div class="swiper-slide">Slide 7</div>
                    <div class="swiper-slide">Slide 8</div>
                    <div class="swiper-slide">Slide 9</div>
                    <div class="swiper-slide">Slide 10</div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>

        </div>
    </section>
    <script>
        //  <!-- 第一个函数是就业指导轮播图 -->
        (function () {
            var swiper = new Swiper('.get-job-fo', {
                //能看到几个图片
                slidesPerView: 2,
                //每个盒子的距离
                spaceBetween: 30,
                //要不要最大的放在中间显示
                centeredSlides: true,
                loop: true,
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },分页器,删掉
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                    // 添加左右箭头
                },
            });
        })();
        //第二个函数的轮播图
        (function () {
            var swiper = new Swiper('.get-job-study', {
                slidesPerView: 2.5,
                spaceBetween: 30,

            });
        })();
    </script>
</body>

</html>